package com.example.service;

import com.example.pojo.Change;
import com.example.pojo.User;

import javax.servlet.http.HttpServletRequest;

public interface UserService {
    User login(User user);


    void register(User user);

    String getPasswords(HttpServletRequest request);
    

    User getPim(HttpServletRequest request);

    void setPim(User user, HttpServletRequest request);

    void changeMm(Change change, HttpServletRequest request);

    void insertUser(User user);

    User getphone(String account);
}
